<template>
  <router-view></router-view>
</template>

<script setup lang="ts">
const store = useAppStore()
onMounted(() => {
  store.setVantLang()

  queryChannel()
})

function queryChannel() {
  apis.api.userAssetQueryChannel().then(d => {
    if (d == 0) {
      setTimeout(() => {
        queryChannel()
      }, 3500)
    }
  })
}
</script>

<style lang="scss">
html {
  font-size: 10px;
}
body {
  background-color: #fff;
  width: 100%;
  height: 100vh;
  padding: 0;
  margin: 0;
}
:root:root {
  --van-primary-color: #3aa1a2;
}

.fx-c {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.safe-pb {
  padding-bottom: 50px;
}
.safe-hb {
  height: 50px;
}

.primary {
  color: #3aa1a2;
}
</style>
